

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="css/eui.css">
  <style>
    body{
      font: 18px "Microsoft YaHei UI";
      margin: 0;
    }
    header a{
      text-decoration: none;
      color: #6c6c6c;
    }
    header a:hover{
      color: #0aa1ed;
    }
  </style>
</head>
<body>
<div id="app">
<el-container>
  <el-header style="padding: 0; height: 150px">
  <div style="width: 1200px; margin: 0 auto">
    <img src="imgs/logo.png" style="width: 300px; vertical-align: middle" alt="">
    <span>
      <a href="">首页</a><el-divider direction="vertical"></el-divider>
      <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
      <a href="">商家入驻</a><el-divider direction="vertical"></el-divider>
      <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
      <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
      <a href="">帮助中心</a><el-divider direction="vertical"></el-divider>
    </span>
  </div>
    <div style="width: 100%; background-color: #82c8ec;">
      <el-menu style="width: 1200px; margin: 0 auto"
              :default-active="activeIndex2"
              class="el-menu-demo"
              mode="horizontal"
              @select="handleSelect"
              background-color="#82c8ec"
              text-color="#fff"
              active-text-color="#fff">
        <el-menu-item index="1">精彩活动</el-menu-item>
        <el-menu-item index="2">当季女装</el-menu-item>
        <el-menu-item index="3">品牌男装</el-menu-item>
        <el-menu-item index="4">环球美食</el-menu-item>
        <el-menu-item index="5">医药健康</el-menu-item>
        <el-menu-item index="6">美妆彩妆</el-menu-item>
        <el-menu-item index="7">母婴产品</el-menu-item>
        <div style="float: right; margin-top: 15px">
          <el-input size="mini" placeholder="请输入关键词搜索"></el-input>
          <el-button style="position: absolute; background-color: rgba(0,0,0,0);
                    border: 0;right: 0;top: 11px"
                    icon="el-icon-search"></el-button>
        </div>
      </el-menu>
    </div>
  </el-header>
  <el-main style="width: 1200px; margin: 0 auto">
        <el-row guter="20">
          <el-col span="18">
                  <el-carousel height="300px">
                    <el-carousel-item v-for="b in bannerArr">
                      <img :src="b.url" style="width: 100%; height: 100%" alt="">
                    </el-carousel-item>
                  </el-carousel>
          </el-col>
          <el-col span="8">

          </el-col>
        </el-row>
  </el-main>
  <el-footer>

  </el-footer>
</el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="../js/vue.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script>
let v = new Vue({
    el: '#app',
    data: function() {
      return {
        bannerArr:[{url:"imgs/b1.jpg"},{url:"imgs/b2.jpg"},{url:"imgs/b3.jpg"},{url:"imgs/b4.jpg"}]
      }
    }
  })
</script>
</html>

